//
//  ViewController.m
//  视频播放
//
//  Created by mafeng on 16/8/20.
//  Copyright © 2016年 mafeng. All rights reserved.
//

#import "ViewController.h"
#import "MFAVplayer.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    NSArray *nibContents = [[NSBundle mainBundle] loadNibNamed:@"MFAVplayer" owner:nil options:nil];
    MFAVplayer *av = [nibContents lastObject];
    av.frame = CGRectMake(0, 0, self.view.bounds.size.width, 330);
    [self.view addSubview:av];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
